package com.atguigu.service;

import com.atguigu.entity.ProductSalePropertyKey;
import com.atguigu.entity.ProductSalePropertyValue;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * spu销售属性值 服务类
 * </p>
 *
 * @author linjiang
 * @since 2022-07-24
 */
public interface ProductSalePropertyValueService extends IService<ProductSalePropertyValue> {

    Map<Object, Object> getSalePropertyIdAndSkuIdMapping(Long productId);

    List<ProductSalePropertyKey> getSpuSalePropertyAndSelected(Long productId, Long skuId);
}
